/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cube;

/**
 * @author charmgil
 */

public class SaveFileFilter extends javax.swing.filechooser.FileFilter {
    override public function getDescription(): String {
        return "Cube files (*.cube)";
    }

    override public function accept( f: java.io.File ): Boolean {
        return f.isDirectory() or f.getName().endsWith( ".cube" );
    }
}
